const getters = {
    token: (state: { user: { token: any } }) => state.user.token,
    avatar: (state: { user: { avatar: any } }) => state.user.avatar,
    name: (state: { user: { name: any } }) => state.user.name,
    roles: (state: { user: { roles: any } }) => state.user.roles,
    asyncRoutes: (state: { permission: { asyncRoutes: any } }) => state.permission.asyncRoutes,
    routes: (state: { permission: { routes: any } }) => state.permission.routes
  }
  export default getters
  